package com.zhuss.aop;

public class LockKeyUtil {

    public static final String KEY_DEMO = "Lock:%s:%s:%s:%s";

    public static final String genKey(LockItem item) {
        return String.format(KEY_DEMO, item.getSystem(), item.getModule(), item.getAction(), item.getServicePkId());
    }

}
